#ifndef SINGLETON_H
#define SINGLETON_H

#include "NonCopyable.h"

namespace Engine
{
	template <typename T> 
	class Singleton : NonCopyable
	{
		public:
			static T* Instance()
			{
				static T t;
				return &t;
			}
	};
}

#endif
